package mymyoux.graphics.graphicfactoryClasses
{
	import flash.events.Event;
	import flash.events.EventDispatcher;
	
	public class ConnectorEvent extends Event
	{
		static public const CONNECTOR:String="connector";
		protected var _value:Event;
		protected var _name:String;
		protected var _object:EventDispatcher;
		public function ConnectorEvent(name:String,object:EventDispatcher,event:Event)
		{
			_value=event;
			_name=name;
			super(CONNECTOR,false,false);
		}
		public function get value():Event
		{
			return _value;
		}
		public function get name():String
		{
			return _name;
		}
		public function get object():EventDispatcher
		{
			return _object;
		}
		public override function toString():String
		{
			return "[ConnectorEvent name=\""+name+"\" value=\""+_value.toString()+"\"]"; 
		}
	}
}